package ciicos.service.impl;

import ciicos.entity.*;
import ciicos.mapper.LineMaintainRecordMapper;
import ciicos.service.*;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ciicos.util.RandomUtil;

import java.math.BigDecimal;

import cn.hutool.core.util.ObjectUtil;
import ciicos.permission.model.authorize.AuthorizeConditionModel;

import ciicos.util.GeneraterSwapUtil;
import ciicos.model.visiual.superQuery.ConditionJsonModel;
import ciicos.model.visiual.superQuery.SuperQueryJsonModel;
import ciicos.model.visiual.superQuery.SuperQueryConditionModel;


import ciicos.permission.service.AuthorizeService;


import java.util.stream.Collectors;

import ciicos.model.linemaintain.*;


import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.text.SimpleDateFormat;

import ciicos.util.*;

import java.util.*;

import ciicos.base.model.filter.RuleInfo;
import ciicos.permission.util.GenUtil;

/**
 * 管线维护管理
 * 版本： V3.2.0
 * 版权：
 * 作者： 企业研发中心
 * 日期： 2025-10-06
 */
@Service
public class LineMaintainRecordServiceImpl extends ServiceImpl<LineMaintainRecordMapper, LineMaintainRecordEntity> implements LineMaintainRecordService {


    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;

    @Autowired
    private UserProvider userProvider;

    @Autowired
    private AuthorizeService authorizeService;

    @Override
    public QueryWrapper<LineMaintainRecordEntity> getChild(LineMaintainPagination pagination, QueryWrapper<LineMaintainRecordEntity> lineMaintainRecordQueryWrapper) {
        boolean pcPermission = false;
        boolean appPermission = false;
        boolean isPc = ServletUtil.getHeader("ciicos-origin").equals("pc");
        if (isPc) {
        }

        return lineMaintainRecordQueryWrapper;
    }

}
